package com.atguigu.springcloud;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;

@SpringBootApplication
@MapperScan("com.atguigu.springcloud.dao")
/**
 *      8001支付服务
 */
@EnableEurekaClient
//让服务可以被Eureka注册中心发现
@EnableDiscoveryClient

public class PaymentMain8001 {



    public static void main(String[] args) {
        SpringApplication.run(PaymentMain8001.class,args);
    }
}
